package com.gc.ip;

import java.beans.PropertyChangeListener;

import javax.swing.JComponent;

public interface IPIndicator
{
	/**
	 * Returns the UI component, e.g. the actual JLabel implementing the
	 * indicator.
	 * 
	 * @return the UI component
	 */
	public JComponent getUiComponent();
	
	/**
	 * Return the corresponding property listener
	 * @param propertyName the related propertyName
	 * @return
	 */
	public PropertyChangeListener getChangeListener(String propertyName);
}
